<?php


namespace App\Http\Controllers\admin\model;


use Illuminate\Support\Facades\DB;

class GradeModel
{
    public static function queryValue($where,$field){
        return DB::table('t_grade')->where($where)->value("$field");
    }

    public static function queryGet($where,$field){
        return DB::table('t_grade')->where($where)->get($field);
    }
}